﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace Rechargeable.Products.Dtos
{
    public class ProductPriceDto : EntityDto<Guid>
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        [Display(Name = "商品ID")]
        [Required]
        public Guid ProductId { get; set; }

        /// <summary>
        /// 金额
        /// </summary>
        [Display(Name = "价格")]
        [Required]
        public decimal Money { get; set; }

        /// <summary>
        /// 有效期
        /// </summary>
        [Display(Name = "有效期")]
        [Required]
        public int Day { get; set; }

        /// <summary>
        /// 说明
        /// </summary>
        [Display(Name = "说明")]
        public string Desc { get; set; }

    }
}
